home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / DelphiDotNet / Control.ascx.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2004-10-22  |  1.3 KB  |  56 lines

  1. [!outputon]
  2. unit [!UnitName];
  3.  
  4. interface
  5.  
  6. uses System.Data, System.Drawing, System.Web, System.Web.UI,
  7.      System.Web.UI.WebControls, System.Web.UI.HtmlControls;
  8.      
  9. type
  10.     /// <summary>
  11.     /// Summary description for [!ClassName].
  12.     /// </summary>
  13.   T[!ClassName] = class(System.Web.UI.UserControl)
  14.   {$REGION 'Designer Managed Code'}
  15.   strict private
  16.     procedure InitializeComponent;
  17.   {$ENDREGION}
  18.   strict private
  19.     procedure Page_Load(sender: System.Object; e: System.EventArgs);
  20.   strict protected
  21.     procedure OnInit(e: System.EventArgs); override;
  22.   private
  23.     { Private Declarations }
  24.   public
  25.     { Public Declarations }
  26.   end;
  27.  
  28. implementation
  29.  
  30. procedure T[!ClassName].Page_Load(sender: System.Object; e: System.EventArgs);
  31. begin
  32.   // TODO: Put user code to initialize the page here
  33. end;
  34.  
  35. procedure T[!ClassName].OnInit(e: System.EventArgs);
  36. begin
  37.   //
  38.   // Required for Designer support
  39.   //
  40.   InitializeComponent;
  41.   inherited OnInit(e);
  42. end;
  43.  
  44. {$REGION 'Designer Managed Code'}
  45. /// <summary>
  46. /// Required method for Designer support -- do not modify
  47. /// the contents of this method with the code editor.
  48. /// </summary>
  49. procedure T[!ClassName].InitializeComponent;
  50. begin
  51.   Include(Self.Load, Self.Page_Load);
  52. end;
  53. {$ENDREGION}
  54.  
  55.  
  56. end.